package com.concurrent.sample.business.loan.repo;

import com.concurrent.sample.business.loan.entity.LoanEntity;
import java.util.Set;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface LoanRepo extends JpaRepository<LoanEntity, Long>, JpaSpecificationExecutor<LoanEntity> {

  Set<LoanEntity> findByLoanTicketId (Long loanTicketId);

}
